﻿// libeventDemo.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
//
#include <stdio.h>
#include "libeventTimer.h"
#include "libeventTimer2.h"

#include "libeventTcpServer.h"
#include "libeventTcpClient.h"

int main(int argc,char *argv[])
{
	//timer_main2();
	
	if (argc == 1) 
	{
		printf("tcp client start\n");
		tcpClient_main();
	}
	else {
		printf("tcp server start\n");
		tcpServer_main();
	}
	return 0;
}
